package br.com.skytef.entity;

import java.sql.Date;

public class PaymentEntity {

	private int idPayment;
	private int idTicket;
	private String typeOrigin;
	private boolean active;
	private Date dateDocument;
	private Date dateMaturity;
	private Date dateCriation;
	private Date datePayment;
	private String paymentAtc;
	private String methodPayment;
	private double vlRate;
	private double vlFines;
	private double vlInterest;
	private double vlDiscounts;
	private double vlPaid;
	private String notes;

	public PaymentEntity(PaymentEntity payment) {
		super();
		this.idPayment = payment.getIdPayment();
		this.idTicket = payment.getIdTicket();
		this.typeOrigin = payment.getTypeOrigin();
		this.active = payment.isActive();
		this.dateDocument = payment.getDateDocument();
		this.dateMaturity = payment.getDateMaturity();
		this.dateCriation = payment.getDateCriation();
		this.datePayment = payment.getDatePayment();
		this.paymentAtc = payment.getPaymentAtc();
		this.methodPayment = payment.getMethodPayment();
		this.vlRate = payment.getVlRate();
		this.vlFines = payment.getVlFines();
		this.vlInterest = payment.getVlInterest();
		this.vlDiscounts = payment.getVlDiscounts();
		this.vlPaid = payment.getVlPaid();
		this.notes = payment.getNotes();
	}
	
	public PaymentEntity() {
		super();
		this.idPayment = 0;
		this.idTicket = 0;
		this.typeOrigin = "";
		this.active = false;
		this.dateDocument = null;
		this.dateMaturity = null;
		this.dateCriation = null;
		this.datePayment = null;
		this.paymentAtc = "";
		this.methodPayment = "";
		this.vlRate = 0;
		this.vlFines = 0;
		this.vlInterest = 0;
		this.vlDiscounts = 0;
		this.vlPaid = 0;
		this.notes = "";
	}

	public int getIdPayment() {
		return idPayment;
	}

	public void setIdPayment(int idPayment) {
		this.idPayment = idPayment;
	}

	public int getIdTicket() {
		return idTicket;
	}

	public void setIdTicket(int idTicket) {
		this.idTicket = idTicket;
	}

	public String getTypeOrigin() {
		return typeOrigin;
	}

	public void setTypeOrigin(String typeOrigin) {
		this.typeOrigin = typeOrigin;
	}

	public boolean isActive() {
		return active;
	}

	public void setActive(boolean active) {
		this.active = active;
	}

	public Date getDateDocument() {
		return dateDocument;
	}

	public void setDateDocument(Date dateDocument) {
		this.dateDocument = dateDocument;
	}

	public Date getDateMaturity() {
		return dateMaturity;
	}

	public void setDateMaturity(Date dateMaturity) {
		this.dateMaturity = dateMaturity;
	}

	public Date getDateCriation() {
		return dateCriation;
	}

	public void setDateCriation(Date dateCriation) {
		this.dateCriation = dateCriation;
	}

	public Date getDatePayment() {
		return datePayment;
	}

	public void setDatePayment(Date datePayment) {
		this.datePayment = datePayment;
	}

	public String getPaymentAtc() {
		return paymentAtc;
	}

	public void setPaymentAtc(String paymentAtc) {
		this.paymentAtc = paymentAtc;
	}

	public String getMethodPayment() {
		return methodPayment;
	}

	public void setMethodPayment(String methodPayment) {
		this.methodPayment = methodPayment;
	}

	public double getVlRate() {
		return vlRate;
	}

	public void setVlRate(double vlRate) {
		this.vlRate = vlRate;
	}

	public double getVlFines() {
		return vlFines;
	}

	public void setVlFines(double vlFines) {
		this.vlFines = vlFines;
	}

	public double getVlInterest() {
		return vlInterest;
	}

	public void setVlInterest(double vlInterest) {
		this.vlInterest = vlInterest;
	}

	public double getVlDiscounts() {
		return vlDiscounts;
	}

	public void setVlDiscounts(double vlDiscounts) {
		this.vlDiscounts = vlDiscounts;
	}

	public double getVlPaid() {
		return vlPaid;
	}

	public void setVlPaid(double vlPaid) {
		this.vlPaid = vlPaid;
	}

	public String getNotes() {
		return notes;
	}

	public void setNotes(String notes) {
		this.notes = notes;
	}		
}
